function merge(arr1, arr2) {
	let newArr1 = Array.from(new Set(arr1))
	let newArr2 = Array.from(new Set(arr2))
	newArr = newArr1.concat(newArr2)
	return (newArry = Array.from(new Set(newArr)))
}

console.log(merge([ 1, 2, 3 ], [ 2, 3, 4 ]))
